package com.hoas.keystore.decoder;

import java.io.Serializable;
import java.util.Map;

public class NoneDecoder implements IDecoder, Serializable {
    @Override
    public String decryptBody(String data, String saltKey) throws Exception {
        return data;
    }

    @Override
    public String encryptBody(String data, String saltKey) throws Exception {
        return data;
    }

    @Override
    public String decryptBody(String data) throws Exception {
        return data;
    }

    @Override
    public String encryptBody(String data) throws Exception {
        return data;
    }

    @Override
    public String sign(Map<String, Object> params) {
        return null;
    }

    @Override
    public boolean verify(Map<String, String> params, String signparam) {
        return true;
    }
}
